import request from '../until/request.js'

//领取佣金
export const getMyCommission = (data) =>{
    return request({
        url:'/my/receive_commission',
        methods:'post',
        data:data
    })
}

//获取佣金明细
export const getMyUnclaimedCommission = () =>{
    return request({
        url:'/my/unclaimed_commission',
        methods:'get',
    })
}

//我的邀请链接
export const getMyInviteLink = () =>{
    return request({
        url:'/my/userinfo',
        methods:'get',
    })
}

//选取
export const getMyChooseArea = (data) =>{
    return request({
        url:'/my/choose_area',
        methods:'post',
        data:data
    })
}

